package com.bestcem.xm.member.controller.v2.param;

import com.bestcem.xm.common.core.constant.RegTypes;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Pattern;
import java.util.List;

/**
 * @author dc.wang <dc.wang@idiaoyan.com>
 * @version V1.0
 * @date 2021/12/7 17:00
 */
@Getter
@Setter
@ToString
public class HttpDeleteGroupMemberParam {

    private String orgId;

    private Integer memberType;

    /**
     * 联系人ID
     */
    @JsonProperty("ids")
    private List<@Pattern(regexp = RegTypes.OBJECT_ID, message = "联系人id格式错误") String> members;

    /**
     * 分组标识
     */
    @JsonProperty("group_id")
    private String groupId;

    private String search;

    private Object condition;


    private String userId;

    /**
     * 是否为超级管理员; 1: 是
     */
    private Integer superRole;

    /**
     * 高级管理员权限
     */
    private Integer isSenior;
}
